package com.swt.gap.model.vo.graph;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 简化版的link，只有startNodeId和endNodeId
 *
 * @author sx
 * @date 2020/7/3 16:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class LiteLink {

    private String id;

    private String startNodeId;

    private String endNodeId;

    @ApiModelProperty(value = "权重值， 0-10000值为1,10000-100000值为2,100000-100000值为3,1000000以上指为4")
    private Integer weight;

}
